/**
 * @filename:Bom Dec 11, 2023
 * Copyright(c) 2022 Wonder Co. Ltd. 
 * All right reserved. 
 */
package com.wonder.app.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.web3j.abi.datatypes.Int;

import java.io.Serializable;
import java.util.Date;

/**   
 * @Description:TODO(Bom管理实体类)
 * 
 * @author: Wonder
 * 
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_bom")
@ApiModel(value="t_bom对象", description="Bom管理表")
public class Bom extends Model<Bom> {

	private static final long serialVersionUID = 1702287231498407L;
	
    @TableField(exist = false)
	@ApiModelProperty(name = "bom_id" , value = "编号")
    private Long bom_id;
    
	@TableId(value ="id", type = IdType.AUTO)
	@ApiModelProperty(name = "id" , value = "主键")
    private Long id;
    
    @TableField(value = "FNUMBER") 	
	@ApiModelProperty(name = "FNUMBER" , value = "BOM编号")
    private String FNUMBER;
    
    @TableField(value = "FBILLTYPE") 	
	@ApiModelProperty(name = "FBILLTYPE" , value = "单据类型")
    private String FBILLTYPE;
    
    @TableField(value = "FDOCUMENTSTATUS") 	
	@ApiModelProperty(name = "FDOCUMENTSTATUS" , value = "数据状态 ")
    private String FDOCUMENTSTATUS;
    
    @TableField(value = "FBOMUSE") 	
	@ApiModelProperty(name = "FBOMUSE" , value = "BOM用途")
    private String FBOMUSE;
    
    @TableField(value = "FGROUP") 	
	@ApiModelProperty(name = "FGROUP" , value = "BOM分组")
    private String FGROUP;
    
    @TableField(value = "FBOMCATEGORY") 	
	@ApiModelProperty(name = "FBOMCATEGORY" , value = "BOM大类")
    private String FBOMCATEGORY;
    
    @TableField(value = "FMATERIALNO") 	
	@ApiModelProperty(name = "FMATERIALNO" , value = "父项物料编码")
    private String FMATERIALNO;
    
    @TableField(value = "FMATERIALNAME") 	
	@ApiModelProperty(name = "FMATERIALNAME" , value = "父项物料名称")
    private String FMATERIALNAME;
    
    @TableField(value = "FSPECIFICATION") 	
	@ApiModelProperty(name = "FSPECIFICATION" , value = "父项物料规格")
    private String FSPECIFICATION;
    
    @TableField(value = "FUNITID") 	
	@ApiModelProperty(name = "FUNITID" , value = "单位")
    private String FUNITID;
    
    @TableField(value = "FCREATEORGID") 	
	@ApiModelProperty(name = "FCREATEORGID" , value = "创建组织内码")
    private Long FCREATEORGID;
    
    @TableField(value = "FCREATEORGNAME") 	
	@ApiModelProperty(name = "FCREATEORGNAME" , value = "创建组织名称")
    private String FCREATEORGNAME;
    
    @TableField(value = "FUSEORGID") 	
	@ApiModelProperty(name = "FUSEORGID" , value = "使用组织内码")
    private Long FUSEORGID;
    
    @TableField(value = "FUSEORGIDNAME") 	
	@ApiModelProperty(name = "FUSEORGIDNAME" , value = "使用组织名称")
    private String FUSEORGIDNAME;
    
    @TableField(value = "FCREATEDATE") 	
	@ApiModelProperty(name = "FCREATEDATE" , value = "创建日期")
    private Date FCREATEDATE;
    
    @TableField(value = "FMODIFYDATE") 	
	@ApiModelProperty(name = "FMODIFYDATE" , value = "修改日期")
    private Date FMODIFYDATE;

    @TableField(value = "FID")
    @ApiModelProperty(name = "FID" , value = "BOM内码")
    private Long FID;
    

	@Override
    public Serializable pkVal() {
        return this.id;
    }
   
}
